#include <iostream>
using namespace std;

long fibonacci(long number) {
    if ((0 == number) || (1 == number)) {
        return number;
    }
    else {
        return fibonacci(number - 1) + fibonacci(number - 2);
    }

}

int main() {

    for (int i = 0; i < 10;++i) {
        cout << "fibonacci(" << i << ") = " << fibonacci(i) << "\n";
    }

    return 0;
}